package com.qf.hotel.pojo;

/**
 * 菜品类
 */
public class Food {

    private int foodId;
    private int typeId;
    private String foodName;
    private double foodPrice;
    private double foodMprice;
    private String foodImage;
    private String foodDesc;

    /**
     *  加入FoodType
     *      typeId
     *      typeName
     */

    FoodType foodType;

    public Food() {
    }

    public Food(int foodId, int typeId, String foodName, double foodPrice, double foodMprice, String foodImage, String foodDesc) {
        this.foodId = foodId;
        this.typeId = typeId;
        this.foodName = foodName;
        this.foodPrice = foodPrice;
        this.foodMprice = foodMprice;
        this.foodImage = foodImage;
        this.foodDesc = foodDesc;
    }

    public int getFoodId() {
        return foodId;
    }

    public void setFoodId(int foodId) {
        this.foodId = foodId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public double getFoodPrice() {
        return foodPrice;
    }

    public void setFoodPrice(double foodPrice) {
        this.foodPrice = foodPrice;
    }

    public double getFoodMprice() {
        return foodMprice;
    }

    public void setFoodMprice(double foodMprice) {
        this.foodMprice = foodMprice;
    }

    public String getFoodImage() {
        return foodImage;
    }

    public void setFoodImage(String foodImage) {
        this.foodImage = foodImage;
    }

    public String getFoodDesc() {
        return foodDesc;
    }

    public void setFoodDesc(String foodDesc) {
        this.foodDesc = foodDesc;
    }

    public FoodType getFoodType() {
        return foodType;
    }

    public void setFoodType(FoodType foodType) {
        this.foodType = foodType;
    }

    @Override
    public String toString() {
        return "Food{" +
                "foodId=" + foodId +
                ", typeId=" + typeId +
                ", foodName='" + foodName + '\'' +
                ", foodPrice=" + foodPrice +
                ", foodMprice=" + foodMprice +
                ", foodImage='" + foodImage + '\'' +
                ", foodDesc='" + foodDesc + '\'' +
                ", foodType=" + foodType +
                '}';
    }
}
